package org.jeecg.modules.cost.service;

import org.jeecg.modules.cost.entity.MtCostChangeItem;
import org.jeecg.modules.cost.entity.MtCostChange;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 成本调整
 * @Author: jeecg-boot
 * @Date:   2023-12-18
 * @Version: V1.0
 */
public interface IMtCostChangeService extends IService<MtCostChange> {

	/**
	 * 添加一对多
	 *
	 * @param mtCostChange
	 * @param mtCostChangeItemList
	 */
	public void saveMain(MtCostChange mtCostChange,List<MtCostChangeItem> mtCostChangeItemList) ;

	/**
	 * 修改一对多
	 *
   * @param mtCostChange
   * @param mtCostChangeItemList
	 */
	public void updateMain(MtCostChange mtCostChange,List<MtCostChangeItem> mtCostChangeItemList);

	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

}
